home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / whttpd14.zip / CONF / SRM.CNF < prev   
Text File  |  1995-01-14  |  5KB  |  155 lines

  1. #----------------------------------------------------------------------
  2. #
  3. #   SRM.CNF
  4. #
  5. # Server resource configuration for NCSA WinHttpd V1.3 (Windows)
  6. #
  7. # The settings in this file control the document layout and name specs
  8. # that your server makes visible to users. The values in the comments
  9. # are the defaults built into the server.
  10. #
  11. # NOTE: path defaults are relative to the server's installation
  12. #       directory (ServerRoot). Paths should be given in Unix
  13. #       format (using '/').
  14. #
  15. # Bob Denny <rdenny@netcom.com> 13-Aug-94
  16. #
  17. #----------------------------------------------------------------------
  18. #
  19. # DocumentRoot: The directory out of which you will serve your
  20. # documents. By default, all requests are taken from this directory, but
  21. # aliases may be used to point to other locations.
  22. #
  23. # DocumentRoot c:/httpd/htdocs
  24.  
  25. # DirectoryIndex: Name of the file to use as a pre-written HTML
  26. # directory index. This document, if present, will be opened when the
  27. # server receives a request containing a URL for the directory, instead
  28. # of generating a directory index.
  29. #
  30. # DirectoryIndex index.htm
  31.  
  32. # AccessFileName: The name of the file to look for in each directory
  33. # for access control information. This file should have a name which is
  34. # blocked from appearing in server-generated indexes!
  35. #
  36. # AccessFileName #haccess.ctl
  37.  
  38. # ========================
  39. # Aliasing and Redirection
  40. # ========================
  41. #
  42. # Redirect allows you to tell clients about documents which used to exist in
  43. # your server's namespace, but do not anymore. This allows you to tell the
  44. # clients where to look for the relocated document.
  45. #
  46. # Format: Redirect fakename url
  47. #
  48.  
  49. # Aliases: Add here as many aliases as you need, up to 20. One useful
  50. # alias to have is one for the path to the icons used for the server-
  51. # generated directory indexes. The paths given below in the AddIcon
  52. # statements are relative.
  53. #
  54. # Format: Alias fakename realname
  55. #
  56. Alias /icons/ c:/httpd/icons/
  57.  
  58. # ScriptAlias: This controls which directories contain DOS server
  59. #              scripts.
  60. #
  61. # Format: ScriptAlias fakename realname
  62. #
  63. ScriptAlias /cgi-dos/ c:/httpd/cgi-dos/
  64. ScriptAlias /cgi-bin/ c:/httpd/cgi-dos/
  65.  
  66. # WinScriptAlias: This controls which directories contain Windows
  67. #              server scripts.
  68. #
  69. # Format: WinScriptAlias fakename realname
  70. #
  71. WinScriptAlias /cgi-win/ c:/httpd/cgi-win/
  72.  
  73. # =========================
  74. # MIME Content Type Control
  75. # =========================
  76. #
  77. # DefaultType is the default MIME type for documents which the server
  78. # cannot find the type of from filename extensions.
  79. #
  80. # DefaultType text/html
  81. DefaultType text/plain
  82.  
  83. # AddType allows you to tweak MIME.TYP without actually editing it, or to
  84. # make certain files to be certain types.
  85. #
  86. # Format: AddType type/subtype ext1
  87. #
  88.  
  89. # ReadmeName is the name of the README file the server will look for by
  90. # default.  The server will first look for name.htm, include it if found,
  91. # and it will then look for name.txt and include it as plaintext if found.
  92. # NOTE: Do not include an explicit extension, it is an error.
  93. #
  94. # Format: ReadmeName name
  95. #
  96. ReadmeName #readme
  97.  
  98. # ============================
  99. # AUTOMATIC DIRECTORY INDEXING
  100. # ============================
  101. #
  102. # The server generates a directory index if there is no file in the
  103. # directory whose name matches DirectoryIndex.
  104. #
  105. # FancyIndexing: Whether you want fancy directory indexing or standard
  106. #
  107. # FancyIndexing on
  108.  
  109. # IconsAreLinks: Whether the icons in a fancy index are links as
  110. # well as the file names.
  111. #
  112. # IconsAreLinks off
  113.  
  114. # AddIcon tells the server which icon to show for different files or filename
  115. # extensions. In preparation for the upcoming Chicago version, you should
  116. # include explicit 3 character truncations for 4-character endings. Don't
  117. # rely on the DOS underpinnings to silently truncate for you.
  118. #
  119. AddIcon /icons/text.gif     .html   .htm    .txt    .ini
  120. AddIcon /icons/image.gif    .gif    .jpg    .jpe    .jpeg   .xbm    .tiff   .tif    .pic    .pict    .bmp
  121. AddIcon /icons/sound.gif    .au     .wav    .snd
  122. AddIcon /icons/movie.gif    .mpg    .mpe    .mpeg
  123. AddIcon /icons/binary.gif   .bin    .exe    .bat    .dll
  124. AddIcon /icons/back.gif     ..
  125. AddIcon /icons/menu.gif     ^^DIRECTORY^^
  126. AddIcon /icons/dblank.gif    ^^BLANKICON^^
  127.  
  128. # DefaultIcon is which icon to show for files which do not have an icon
  129. # explicitly set.
  130. #
  131. DefaultIcon /icons/unknown.gif
  132.  
  133. # AddDescription allows you to place a short description after a file in
  134. # server-generated indexes. A better place for these are in inidividual
  135. # "#haccess.ctl" files in individual directories.
  136. #
  137. # Format: AddDescription "description" filename
  138. #
  139.  
  140. # IndexIgnore is a set of filenames which directory indexing should ignore
  141. # Here, I've disabled display of our readme and access control files,
  142. # plus anything that starts with a "~", which I use for annotation HTML
  143. # documents. I also have disabled some common editor backup file names.
  144. # Match is on file NAME.EXT only, and the usual * and ? meta-chars apply.
  145. #
  146. # WARNING: Be sure to set an ignore for your access control file(s)!!
  147. #
  148. # Format: IndexIgnore name1 name2...
  149. #
  150. IndexIgnore  ~* *.bak *.{* #readme.htm #haccess.ctl
  151.  
  152. ## END ##
  153.  
  154.  
  155.